﻿using Abp.Application.Services.Dto;
using ARchGL.Platform.Dto;
using System;
using System.ComponentModel.DataAnnotations;

namespace ARchGL.Platform.Dtos
{
    /// <summary>
    /// 巡检 InputModel
    /// </summary>
    public class QueryChecksPagedListInput : PagedSortedAndFilteredInputDto
    {
        /// <summary>
        /// 项目标识
        /// </summary>
        //[Required(ErrorMessage = "项目标识不能为空，请重新输入")]
        public Guid ProjectId { get; set; }
        /// <summary>
        /// 父级标识
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 检查类型，获取检查项的根数据
        /// </summary>
        public Guid? CheckItemId { get; set; }
        /// <summary>
        /// 状态：1整改中/书面整改、2已整改/待复查、3已完成/通过、4已撤销
        /// </summary>
        public EnumCheckAndFeedbackStatus Status { get; set; }
        /// <summary>
        /// 是否完成：0全部、1已完成、2未完成
        /// </summary>
        public int IsComplete { get; set; }
        /// <summary>
        /// 执行检查日期范围 （暂时没用）
        /// </summary>
        public DateTime?[] CheckDateRange { get; set; }

    }
}
